<?php
namespace Api\Controller;
use Think\Controller;
class DoctorListController extends Controller {
    public function index(){
    	 $page=I('page')?I('page')-1:0;
    	 $num =I('num')?I('num'):10;
         $info=D('Doctor')->getList($page,$num);
         if($info){
                   EchoData($info);
         }else{
         	EchoData('',0,101,'已没有数据',0);
         }
    }
}